package com.hkts.flow.core.dao.flowable;

import com.hkts.flow.api.flowable.ret.VersionVo;
import org.apache.ibatis.annotations.Mapper;
import org.flowable.idm.engine.impl.persistence.entity.GroupEntityImpl;
import org.flowable.idm.engine.impl.persistence.entity.UserEntityImpl;
import org.springframework.stereotype.Repository;

/**
 * @ClassNameIFlowableIdentityDao
 * @Description
 * @Author yck
 * @Date2020-12-08 13:56
 * @Version V1.0
 **/
@Mapper
@Repository
public interface IFlowableIdentityDao {
    VersionVo selectMaxVersion();

    void updateUserById(UserEntityImpl user);

    void updateGroupById(GroupEntityImpl group);

    void deleteMemberShip(UserEntityImpl user);
}
